<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$appConfigs.title}</title>

    <link rel="stylesheet" type="text/css" href="{$contextPath}/pas/easyui/themes/{$page_theme | default: 'default'}/easyui.css">
    <link rel="stylesheet" type="text/css" href="{$contextPath}/pas/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="{$contextPath}/pas/style/my.css">
    <script type="text/javascript" src="{$contextPath}/pas/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="{$contextPath}/pas/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="{$contextPath}/pas/javascript/my.js"></script>
    
</head> 
<body onpageshow="resetPagination('dg')">
    {datagrid id="dg" datasource="/invest/AccountFlowService/findAll.do?account_id=`$Request.account_id`" view="i_account_flow"}
    {form id="dlg" view="i_account" }
    
    <script>
    var user_id = '{$principal.id}';
    field_formatters.transaction_type=function (value, row, index){
		if(value == 1)
			return '<font color="green">转入</font>';
		else if(value == -1)
			return '<font color="red">转出</font>';
    }
    </script>
</body>
</html>